#include "Packet.h"
#include <iostream>

Packet::Packet(void)
	:
	m_packetType(PACKET_TYPE::UNKNOWN)
{

}
Packet::Packet(PACKET_TYPE type)
	:
	m_packetType(type)
{

}
Packet::~Packet(void)
{

}
PACKET_TYPE Packet::GetType(void)
{
	return m_packetType;
}

/*

void Packet::Read(void* buffer)
{
	memcpy(buffer, (char*)this + 4, sizeof(*this) - 4 ); 
}
void Packet::Write(void* buffer)
{
	memcpy((char*)this + 4, buffer, sizeof(*this) - 4);
}*/